// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// This file is part of CodingEditor.
// Note:	This project is derived from Peter Project
//			(hosted on sourceforge and codeplex)
//
// Copyright (c) 2008-2009, CE Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


namespace CE.Classes
{
	using System.Windows.Forms;

	/// <summary>
	/// This class Holds Information about a specific project...
	/// </summary>
	public class cProjectInfo
	{
		#region Fields

		/// <summary>
		/// TreeNode list of Project Data...
		/// </summary>
		private TreeNode m_ProjectData;

		/// <summary>
		/// Name of Project....
		/// </summary>
		private string m_ProjectName;

		/// <summary>
		/// Path of Project on Disk...
		/// </summary>
		private string m_ProjectPath;

		/// <summary>
		/// Type of Project...
		/// </summary>
		private string m_ProjectType;

		#endregion Fields

		#region Constructors

		/// <summary>
		/// Creates a new Project Info Class...
		/// </summary>
		public cProjectInfo()
		{
			this.m_ProjectPath = "";
			this.m_ProjectName = "";
			this.m_ProjectType = "";
			this.m_ProjectData = null;
		}

		#endregion Constructors

		#region Properties

		/// <summary>
		/// Gets or Sets the Data of the Project...
		/// </summary>
		public TreeNode Data
		{
			get { return this.m_ProjectData; }
			set { this.m_ProjectData = value; }
		}

		/// <summary>
		/// Gets or Sets the Name of the Project...
		/// </summary>
		public string Name
		{
			get { return this.m_ProjectName; }
			set { this.m_ProjectName = value; }
		}

		/// <summary>
		/// Gets or Sets the Path of the Project...
		/// </summary>
		public string Path
		{
			get { return this.m_ProjectPath; }
			set { this.m_ProjectPath = value; }
		}

		/// <summary>
		/// Gets or Sets the Type of the Project...
		/// </summary>
		public string Type
		{
			get { return this.m_ProjectType; }
			set { this.m_ProjectType = value; }
		}

		#endregion Properties
	}
}